package com.dy.course.common;

public class BaseException extends RuntimeException{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private String code;
	
	public BaseException(String code,String message,Throwable e){
		super(message,e);
		this.code = code;
	}
	
	public String getCode(){
		return code;
	}
}
